<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui"
	xmlns:c="http://java.sun.com/jsp/jstl/core">

	<br />
	<br />
	<br />
	<br />
	<p:panelGrid columns="2" align="center">
		<h:outputText value="Username: "></h:outputText>
		<h:inputText value="#{user.username}" immediate="true"></h:inputText>
		<h:outputText value="Password: "></h:outputText>
		<h:inputSecret value="#{user.password}" immediate="true"></h:inputSecret>
	</p:panelGrid>
		<p:commandButton value="OK" actionListener="#{user.login}"
			update=":formMenu" style="width:200px" />
		<p:growl id="growl" showDetail="true" sticky="false" />
</ui:composition>